package com.dykj.fireFighting.api.base.emergency.service;


import com.dykj.fireFighting.api.base.emergency.dto.EmergencyPlanTwoDto;
import com.dykj.fireFighting.api.base.emergency.entity.EmergencyPlanTwo;
import com.dykj.fireFighting.api.base.emergency.vo.EmergencyPlanTwoVo;
import com.dykj.fireFighting.api.base.emergency.vo.EmergencyTypeUnitVo;
import com.dykj.fireFighting.api.base.emergency.vo.EmergencyTypeVo;
import com.dykj.fireFighting.common.core.service.IBaseService;
import com.dykj.fireFighting.common.core.vo.PageVo;

import java.util.List;

/**
 * 应急预案新版
 *
 * @Author JacksonTu
 * @Date 2021-08-26 14:40:38
 */
public interface IEmergencyPlanTwoService extends IBaseService<EmergencyPlanTwo> {
    EmergencyPlanTwo SelectInfoByBuildingId(String id);


    /**
     * 应急预案新版分页列表
     *
     * @param emergencyPlanTwoDto
     * @return
     */
    PageVo<EmergencyPlanTwoVo> queryList(EmergencyPlanTwoDto emergencyPlanTwoDto);

    List<EmergencyPlanTwo> rankScore(String start, String end, String type, String shudi, List<String> unitList);

    List<EmergencyTypeUnitVo> typeUnit(String start, String end, String type, String shudi, List<String> unitList);

    List<EmergencyTypeVo> type(String start, String end, String shudi, List<String> unitList);

    /**
     * jkzx应急预案新版分页列表
     *
     * @param emergencyPlanTwoDto
     * @return
     */
    PageVo<EmergencyPlanTwoVo> queryAllList(EmergencyPlanTwoDto emergencyPlanTwoDto);

    EmergencyPlanTwo getInfoById(String id);
}

